package com.wzy.orderSystem.service;

import com.wzy.orderSystem.pojo.food_detail;

import java.util.List;

public interface opFoodDetail {
    //根据菜单id查询菜单详细信息
    public List<food_detail> selectById(int id);

    //根据菜单名foodName修改菜单的价格
    public int updateByName(String foodName,int foodPrice);

    //根据菜单名删除菜品
    public int deleteByName(String foodName);

    //添加菜品
    public int insert(int id,String foodName,int foodPrice,String foodInfo, String classify,int favorite,String foodPic);

}
